package com.imti.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imti.mall.model.oms.pojo.OmsOrderReturnReason;
import com.imti.mall.model.oms.query.OmsOrderListParam;

import java.util.List;
import java.util.Map;

public interface OrderReturnReasonService extends IService<OmsOrderReturnReason> {

    List<OmsOrderReturnReason> fetchReturnReasonList(OmsOrderListParam listParam);

    Integer deleteReturnReason(Integer[] ids);

    Integer updateReasonStatus(Map<String,Object> map);

    Integer addReturnReason(OmsOrderReturnReason returnReason);

    OmsOrderReturnReason getReasonDetail(Integer id);

    Integer updateReturnReason(OmsOrderReturnReason returnReason);
}
